home *** CD-ROM | disk | FTP | other *** search
/ Aminet 34 / Aminet 34 (2000)(Schatztruhe)[!][Dec 1999].iso / Aminet / comm / irc / cybershiela.lha / cs / cs_shh.amirx < prev    next >
Text File  |  1999-07-18  |  526b  |  17 lines

  1. /* CyberShiela MultiResponse File */
  2. nick=getclip('NICK')
  3. xx=random(1,3,time('s'))
  4. select
  5. when xx=1 then a="shhhhh!!!"
  6. when xx=2 then a="No $1 you shush up!"
  7. when xx=3 then a="/me SCREAMS REALLY LOUD!!! ARRRRRRGGGGGGHHHHHHHHHH!!!"
  8. end
  9. modif:
  10. user=nick
  11. old=a
  12. m=length(user);temp=a;x=pos("$1",temp);if x~=0 then do;temp2 = delstr(temp,x,2);old = insert(user,temp2,x-1,m," ");end
  13. temp=old;m=length(channam);x=pos("$chan",temp);if x~=0 then do;temp2 = delstr(temp,x,5);old = insert(channam,temp2,x-1,m," ");end
  14. a=old
  15. 'say 'A
  16. exit
  17.